<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="${ctx}/js/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
    <script type="text/javascript" src="${ctx }/js/jquery/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="${ctx }/js/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${ctx }/js/dynForm/dynForm.js"></script>
    <script type="text/javascript" src="${ctx }/js/layer/layer.js"></script>
    <script type="text/javascript" src="${ctx }/js/common.js"></script>
    <style>
        html, body {
            height: 100%;
            width: 100%;
            padding: 0;
            margin: 0;
        }

        #preview {
            width: 100%;
            height: 100%;
            padding: 0;
            margin: 0;
        }

        #preview * {
            font-family: sans-serif;
            font-size: 16px;
            margin-bottom: 0px;
        }
        /*input[type="text"], textarea, p {*/
            /*margin-bottom: 0px;*/
        /*}*/
    </style>
<#--<script type="text/javascript" src="${ctx}/js/ueditor/dialogs/internal.js"></script>-->
    <script src="${ctx}/js/ueditor/ueditor.parse.js"></script>
    <title></title>
</head>
<body class="view">
<div id="preview" style="margin:8px">
${formContent}
</div>
<#--<input type="button" onclick="con();" value="45678123">-->
</body>
<script>
//    document.getElementById('preview').innerHTML = '';
    uParse('#preview', {
        rootPath: '../../',
        chartContainerHeight: 500
    })
    //        dialog.oncancel = function(){
    //            document.getElementById('preview').innerHTML = '';
    //        }
//    function con() {
//        var div1 = $("#preview").html();
//        console.log(div1);
//    }
</script>

</html>

